/*
 * @Author: Komens
 * @Date: 2021-11-05 16:57:16
 * @LastEditTime: 2021-11-05 17:02:05
 * @LastEditors: Komens
 */
export function isHttpOrHttpsUrl(url: string): boolean {
  let regRule = /(http|https):\/\/([\w.]+\/?)\S*/;
  return regRule.test(url.toLocaleLowerCase());
}
